<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%> 
<%
	String key = (String) request.getAttribute("message.key");
	String keyText, keyButtonText, keyButtonAction;
	if (key != null) {
		keyText = key + ".text";
		keyButtonText = key +  ".button.text";
		keyButtonAction = key +  ".button.action";
		%>
		<s:text name="<%=keyText%>" ></s:text><br/>
		<a href="<s:text name="<%=keyButtonAction%>" ></s:text>">
			<s:text name="<%=keyButtonText%>" ></s:text>
		</a>
		<%
	} else {
		%>
		<s:actionerror />
		<s:fielderror />
		<a href="javascript: history.back();" />
			<s:text name="general.back" ></s:text>
		</a>
		<%		
	}
%>    